package com.xinyi.share.weixin.message.event;
/**
 * 
 * @description 地理位置事件
 * @author wangchuan
 * @date 2014年7月5日下午12:01:37
 * @version 1.0
 */
public class LocationEventMessage extends EventMessage {
	/**
	 * 地理位置纬度
	 */
	private String latitude;
	/**
	 * 地理位置经度 
	 */
	private String longitude;
	/**
	 * 地理位置精度 
	 */
	private String precision;
	
	public LocationEventMessage(){}
	
	public LocationEventMessage(String fromUserName, String toUserName,String latitude,String longitude,String precision,long createTime){
		super(fromUserName, toUserName, Event.LOCATION.toString(), createTime);
		this.latitude = latitude;
		this.longitude = longitude;
		this.precision = precision;
	}
	
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getPrecision() {
		return precision;
	}
	public void setPrecision(String precision) {
		this.precision = precision;
	}

	@Override
	public String toString() {
		return "LocationEventMessage [latitude=" + latitude + ", longitude=" + longitude + ", precision=" + precision + ", getCreateTime()=" + getCreateTime() + ", getEvent()=" + getEvent()
				+ ", toString()=" + super.toString() + ", getMsgType()=" + getMsgType() + ", getFromUserName()=" + getFromUserName() + ", getToUserName()=" + getToUserName() + "]";
	}
	
	
}
